package cn.dglydrpy.fundmanagement.dao.entiey;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;

@TableName("portfolio_fund")
@Data
public class PortfolioFund {
    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("portfolio_id")
    private Long portfolioId;

    @TableField("fund_code")
    private String fundCode;

    @TableField("shares")
    private BigDecimal shares;

    @TableField("buy_price")
    private BigDecimal buyPrice;

    @TableField("buy_time")
    private String buyTime;

    @TableField("created_time")
    private String createdTime;

    @TableField("updated_time")
    private String updatedTime;

    @TableField("status")
    private String status;
}